using System;
using Dimok.Data.DataSources;

namespace Data.DataSources {
	public class PurchaseBatch_LoansDataSource : ObjectDataSourceBase {
		public override string SelectViewName { get { return "t_PurchaseBatch_Loans"; } }
		public override string InsertViewName { get { return SelectViewName; } }
		public override System.Data.DataView SelectEx(int BatchID) {
			return base.Select("BatchID=@BatchID",BatchID);
		}
		public void DeleteByLoanID(int LoanID) {
			Delete("LoanID=@LoanID", LoanID);
		}
	}
}